/**
 * Created by Administrator on 2017/6/28.
 */
/**
 * Created by Administrator on 2017/6/28.
 */
/**
 * Created by Administrator on 2017/6/15.
 */

import React from 'react'
import {
    Text,View
} from 'react-native'
import shareModule from './shareNative'
import payModule from './Pay'
import cosModule from './CosNative'
export default class TabPage_2 extends React.Component{

    static navigationOptions =({navigation}) =>({
        headerStyle: {
            height: 0,
        },
    })


    render(){
        return(


        <View style={{flex:1}}>
            <Text onPress={()=>{payModule.aLiPay()}} style={{height:50,marginTop:50}}>调用原生支付宝</Text>

            <Text onPress={()=>shareModule.showShare('测试分享',(msg) =>{
                console.warn(msg)
            })} style={{height:50,marginTop:50}}>调用原生三方分享</Text>

            <Text onPress={()=>{cosModule.uploadImg()}}>调用cos图片上传</Text>

            <Text onPress={()=>{shareModule.goLogin()}} style={{height:50,marginTop:50}}>调用微信三方登录</Text>
        </View>


        )
    }

}